Day (VBScript)

The Day command returns a number from 1 to 31 to represent the day of the month from a given DateTime variant.

Syntax

DAY ( dateTime )